package com.tim.dao;

import com.tim.pojo.CarStall;

import java.sql.SQLException;
import java.util.List;

/**
 * 作者：Tim
 * 时间：2021/4/29 11:56
 */
//停车位
public interface CarStallDao {
    int deleteCarStall(int id) throws SQLException;
    int addCarStall(CarStall carStall) throws SQLException;
    CarStall selectOne(int id) throws SQLException;
    int updateCarStall(CarStall carStall) throws SQLException;
    List<CarStall> searchCarStall(String carPlot) throws SQLException;
    List<CarStall> limit(Integer currentPage,Integer pageSize,String carPlot) throws SQLException;
    int count(String carPlot) throws SQLException;
}
